home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 3 / ACE CD 3.iso / files / utils / diskexpa.dms / in.adf / InstallHD < prev    next >
Encoding:
Text File  |  1993-12-21  |  6.6 KB  |  293 lines

  1.  
  2. (set osversion (/ (getversion) 65536))
  3.  
  4. (message
  5.    "\n\nWelcome to the DiskExpander HD installation!\n\n"
  6.    "Cracked By Skid Row Supplied By Fireflash\n"
  7.    "This utility program installs DiskExpander\nand all programs belonging "
  8.    "to the DiskExpander software package on hard disk.\n\n"
  9.    "Please hold the original program disk in drive DF0: during the "
  10.    "installation process."
  11. )
  12.  
  13. (askdisk
  14.    (dest "DiskExpander")
  15.    (prompt "\n\n\n\n\nPlease insert your DiskExpander original disk "
  16.            "into internal drive DF0:"
  17.    )
  18.    (help "The install program needs the disk for installing programs and "
  19.          "data on your hard disk."
  20.    )
  21. )
  22.  
  23. (message
  24.    "\n\nIf this is the first installation of DiskExpander, you'll be asked to "
  25.    "enter your personal data when the program is started. These Data will be "
  26.    "stored \non the original Disk.\n\nPlease ensure that you enter your data "
  27.    "correctly! \nThis, together with returning the registration card, "
  28.    "allows you to gain cheap updates to future versions of DiskExpander "
  29.    "containing more and enhanced features."
  30. )
  31. ;(run "DiskExpander:c/DEProtect con:30/50/600/150/Personal_Data_Input")
  32.  
  33.  
  34. (message
  35.    "\n\n\n\nYour personal data and the system configuration have been "
  36.    "stored on the diskette.\n\n"
  37.    "Please write-protect your original DiskExpander program disk now."
  38.    "The programs and data files belonging to DiskExpander will now be "
  39.    "copied to your hard disk."
  40. )
  41.  
  42. (complete 0)
  43.  
  44. (set @default-dest
  45.    (askdir
  46.        (prompt "Please select the directory where the "
  47.               "DiskExpander programs shall be stored.\n"
  48.       )
  49.         (help
  50.            "You must select the name of the target directory "
  51.             "to which all DiskExpander programs will be copied. \n\n"
  52.          "A new subdirectory will be created in the chosen directory. This "
  53.          "is where the data files will be stored."
  54.       )
  55.       (default "Work:")
  56.    )
  57. )
  58.  
  59. (set realdest  @default-dest )
  60.  
  61. (if
  62.    (= (exists realdest) 0)
  63.        (makedir realdest (infos))
  64. )
  65.  
  66. (complete 5)
  67.  
  68. (if (= @user-level 2)
  69.    (
  70.        (set libflag
  71.            (askoptions
  72.                (prompt
  73.                "Please select the compression libraries to be installed "
  74.                "on the hard disk.:"
  75.                 )
  76.                 (help
  77.                "To adjust DiskExpander for specific purposes, "
  78.                "the program allows you to choose the compression library "
  79.                "that suits best your personal needs.\n\n"
  80.                "For detailed information on the compression libraries, please "
  81.                "read the manual that comes along with DiskExpander or the "
  82.                "file ReadMe! on the original disk."
  83.             )
  84.                 (choices
  85.                     "epu0"
  86.                "epu1"
  87.                "NUKE"
  88.                "BLZW"
  89.                "FAST"
  90.                "SHRI"
  91.                 )
  92.                 (default 65535)
  93.             )
  94.         )
  95.  
  96.         (if
  97.             (askbool
  98.             (prompt "\n\nDo you want DiskExpander to be installed using the "
  99.                     "graphical appearance of Workbench 2.0?")
  100.             (help
  101.                "When Workbench 2.0 was released, the basic Workbench colors "
  102.                "black and white have been exchanged due to technical reasons. "
  103.                "Therefore, icons especially designed for use with Workbench 1.3 "
  104.                "look unsightly when used with Workbench 2.0.\n\n"
  105.                "To avoid this effect, DiskExpander contains different icons "
  106.                "for both versions of the operating system.\n\n"
  107.                "Please install the type of icons that graphically matches your "
  108.                "Workbench."
  109.                 )
  110.             )
  111.             (
  112.             (set kickflag 1)
  113.             )
  114.             (
  115.             (set kickflag 0)
  116.             )
  117.         )
  118.    )
  119.    (
  120.        (set libflag 65535)
  121.         (if (>= osversion 36)
  122.             (
  123.             (set kickflag 1)
  124.             )
  125.       )
  126.         (if (<= osversion 35)
  127.             (
  128.             (set kickflag 0)
  129.             )
  130.       )
  131.    )
  132. )
  133.  
  134. (onerror
  135.    (abort
  136.       "DiskExpander cannot be installed successfully "
  137.       "because the compression libraries cannot be copied to the "
  138.       "target device!\n\n"
  139.       "Please ensure that there's enough space on the hard disk before "
  140.       "starting onother attempt to install the program.\n"
  141.     )
  142. )
  143.  
  144. (if (IN libflag 0)
  145.    (copylib
  146.        (prompt "" )
  147.        (help "")
  148.        (source "DiskExpander:libs/epu0.library")
  149.        (dest "libs:")
  150.    )
  151. )
  152.  
  153. (complete 5)
  154.  
  155. (if (IN libflag 1)
  156.    (copylib
  157.        (prompt "" )
  158.        (help "")
  159.        (source "DiskExpander:libs/epu1.library")
  160.        (dest "libs:")
  161.    )
  162. )
  163.  
  164. (complete 10)
  165.  
  166. (if (IN libflag 2)
  167.    (copylib
  168.        (prompt "" )
  169.        (help "")
  170.        (source "DiskExpander:libs/xpkNUKE.library")
  171.        (dest "libs:")
  172.    )
  173. )
  174.  
  175. (complete 15)
  176.  
  177. (if (IN libflag 3)
  178.    (copylib
  179.        (prompt "" )
  180.        (help "")
  181.        (source "DiskExpander:libs/xpkBLZW.library")
  182.        (dest "libs:")
  183.    )
  184. )
  185.  
  186. (complete 20)
  187.  
  188. (if (IN libflag 4)
  189.    (copyfiles
  190.        (prompt "" )
  191.        (help "")
  192.        (source "DiskExpander:libs/xpkFAST.library")
  193.        (dest "libs:")
  194.    )
  195. )
  196.  
  197. (complete 25)
  198.  
  199. (if (IN libflag 5)
  200.    (copylib
  201.        (prompt "" )
  202.        (help "")
  203.        (source "DiskExpander:libs/xpkSHRI.library")
  204.        (dest "libs:")
  205.    )
  206. )
  207.  
  208. (complete 30)
  209.  
  210. (onerror
  211.    (abort
  212.       "DiskExpander cannot be installed successfully "
  213.       "because the handler files cannot be copied to the "
  214.       "target device!\n\n"
  215.       "Please ensure that there's enough space on the hard disk before "
  216.       "starting onother attempt to install the program.\n"
  217.     )
  218. )
  219.  
  220. (copyfiles
  221.     (prompt "" )
  222.     (help "")
  223.     (source "DiskExpander:l")
  224.     (dest "l:")
  225.    (pattern "DE#?-handler")
  226. )
  227.  
  228. (complete 40)
  229.  
  230. (onerror
  231.    (abort
  232.       "DiskExpander cannot be installed successfully "
  233.       "because the main program and the utilites cannot be copied to the "
  234.       "target device!\n\n"
  235.       "Please ensure that there's enough space on the hard disk before "
  236.       "starting onother attempt to install the program.\n"
  237.     )
  238. )
  239.  
  240. (copyfiles
  241.     (prompt "" )
  242.     (help "")
  243.     (source "DiskExpander:c/DiskExpander")
  244.     (dest "c:")
  245. )
  246.  
  247. (complete 60)
  248.  
  249. (copyfiles
  250.     (prompt "" )
  251.     (help "")
  252.     (source "DiskExpander:InstallData/ProgramData")
  253.     (dest realdest)
  254.    (pattern "#?")
  255. )
  256.  
  257. (complete 75)
  258.  
  259. (if (= kickflag 0)
  260.    (set sourcedir "DiskExpander:InstallData/Icons1.3")
  261. )
  262.  
  263. (if (= kickflag 1)
  264.    (set sourcedir "DiskExpander:InstallData/Icons2.0")
  265. )
  266.  
  267. (copyfiles
  268.     (prompt "" )
  269.     (help "")
  270.     (source sourcedir)
  271.     (dest realdest)
  272.    (all)
  273. )
  274.  
  275. (complete 95)
  276.  
  277. (message
  278.    "\n\n\n\nIf you've not already done this, you should now"
  279.    "\n\n write-protect your original program disk!"
  280. )
  281.  
  282. (run "DiskExpander:c/DiskExpander protect")
  283.  
  284. (complete 100)
  285. (exit
  286.    
  287.    "DiskExpander is now ready to be started from the hard disk. "
  288.    "To do this, simply run the main program stored in the newly \n\n"
  289.    "created directory. The original program disk is no longer needed. "
  290.    "Please keep it in a secure place."
  291. )
  292.  
  293.